﻿using DBConnection.Abstracts;

namespace DBConnection.Helper
{
    public class Column : AVariable 
    {
        public Column():base()
        {
            Name = "";
        }
        public Column(int capacity): base(capacity)
        {
            Name = "";
        }
        public Column(string aName,int capacity): base()
        {
            Name = aName;
        }
        public Column(string aName): base()
        {
            Name = aName;
        }
        public Column(Column aColumn): base(aColumn.Count)
        {
            Name = aColumn.Name;
        }

        public int Count { get { return _item.Count; } }
        public string Name { get; set; }
        public new string this[int i]
        {
            get { return _item[i]; }
            set { _item[i] = value; }
        }

        
    }
}
